<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>06_v-bind的使用</title>
</head>
<body>
    <div id="app">
        <!-- v-bind:属性名="表达式/变量" -->
      <!-- <img v-bind:src="imgUrl" > -->
      <!-- 简写 : => v-bind:  :src="imgUrl" -->
      <img :src="imgUrl" >
      <p>{{msg}}</p>
    </div>
    <script src="./vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                msg: '我是个信息',
                imgUrl: './imgs/10-01.png'
            },
        })

    </script>
</body>
</html>